import 'package:pet_app/net/page_query.dart';

class ArticleQuery extends PageQuery {
  int type;
  int petType;

  ArticleQuery(this.type, this.petType) : super(1, 10);

  @override
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['pageNum'] = pageNum;
    map['pageSize'] = pageSize;
    map['type'] = type;
    map['petType'] = petType;
    return map;
  }
}
